package cn.wolfcode.edu.mapper;

import cn.wolfcode.edu.domain.Attendance;
import cn.wolfcode.edu.query.AttendanceQueryObject;

import java.util.List;

public interface AttendanceMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Attendance entity);

    Attendance selectByPrimaryKey(Long id);

    List<Attendance> selectAll(AttendanceQueryObject qo);

    int updateByPrimaryKey(Attendance entity);

    int queryForCount(AttendanceQueryObject qo);

    void signIn(Attendance attendance);

    Attendance selectOneByToday(Long id);

    void signBack(Attendance entity);

    Attendance selectInByEmpId(Long id);

    Attendance selectBackByEmpId(Long id);
}